package com.messe.base.models;

import java.sql.Timestamp;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * ExhibitionRegistration entity. @author MyEclipse Persistence Tools
 */

public class ExhibitionRegistration  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 7928012915910591364L;
	
	private Integer id;
     private Exhibition exhibition;
     private VisitorProfile visitorProfile;
     private String dataSourceId;
     private String barcode;
     
     @JsonFormat(pattern = "yyyy-MM-dd")
     @JSONField(format="yyyy-MM-dd")
     private Timestamp lastUpdatedStamp;
     
     @JsonFormat(pattern = "yyyy-MM-dd")
     @JSONField(format="yyyy-MM-dd")
     private Timestamp createdStamp;
     
     private String auditorStamp;
     private Integer type;//到场，未到场
     private String origin;//来源
     private Person person;//推荐人
     private Organization organization;//推荐公司
     private Integer duplication;//是否是重复记录
     // 创建人
     private Person creator;
     // 审核人
     private Person auditor;
     // 记录是否被修改
     private Integer flag;
     
     
     private String company;
     private String department;
     private String occupation;

     private String country;
     private String province;
     private String city;
     private String iproduct;
     private Person manager;//客户经理
     private String description;
     // 邀请函 id
     private ExhibitionInvitation exhibitionInvitation;
    // 邀请人(主办方用户/持有展商证人员) 
 	private String personId;
	// 邀请公司
 	private String organizationId;
 	// 邀请人（观众）
 	private String visitorProfileId;
 	
 	private Integer invitationType;
 	private Prize prize;
 	/** 发奖 	 */
 	private Boolean hasAward;
 	private Timestamp awardStamp;
 	
     public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getOccupation() {
		return occupation;
	}

	public void setOccupation(String occupation) {
		this.occupation = occupation;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Person getCreator() {
		return creator;
	}

	public void setCreator(Person creator) {
		this.creator = creator;
	}

	public Person getAuditor() {
		return auditor;
	}

	public void setAuditor(Person auditor) {
		this.auditor = auditor;
	}
     
    // Constructors

    public Integer getDuplication() {
		return duplication;
	}

	public void setDuplication(Integer duplication) {
		this.duplication = duplication;
	}

	/** default constructor */
    public ExhibitionRegistration() {
    }

    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Exhibition getExhibition() {
        return this.exhibition;
    }
    
    public void setExhibition(Exhibition exhibition) {
        this.exhibition = exhibition;
    }

    public VisitorProfile getVisitorProfile() {
        return this.visitorProfile;
    }
    
    public void setVisitorProfile(VisitorProfile visitorProfile) {
        this.visitorProfile = visitorProfile;
    }



    /**
	 * @return the dataSourceId
	 */
	public String getDataSourceId() {
		return dataSourceId;
	}

	/**
	 * @param dataSourceId the dataSourceId to set
	 */
	public void setDataSourceId(String dataSourceId) {
		this.dataSourceId = dataSourceId;
	}

	public String getBarcode() {
        return this.barcode;
    }
    
    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public Timestamp getLastUpdatedStamp() {
        return this.lastUpdatedStamp;
    }
    
    public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
        this.lastUpdatedStamp = lastUpdatedStamp;
    }

    public Timestamp getCreatedStamp() {
        return this.createdStamp;
    }
    
    public void setCreatedStamp(Timestamp createdStamp) {
        this.createdStamp = createdStamp;
    }

	/**
	 * @return the type
	 */
	public Integer getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(Integer type) {
		this.type = type;
	}

	/**
	 * @return the origin
	 */
	public String getOrigin() {
		return origin;
	}

	/**
	 * @param origin the origin to set
	 */
	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	public String getAuditorStamp() {
		return auditorStamp;
	}

	public void setAuditorStamp(String auditorStamp) {
		this.auditorStamp = auditorStamp;
	}

	public String getIproduct() {
		return iproduct;
	}

	public void setIproduct(String iproduct) {
		this.iproduct = iproduct;
	}

	public Person getManager() {
		return manager;
	}

	public void setManager(Person manager) {
		this.manager = manager;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPersonId() {
		return personId;
	}

	public void setPersonId(String personId) {
		this.personId = personId;
	}

	public String getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(String organizationId) {
		this.organizationId = organizationId;
	}

	public String getVisitorProfileId() {
		return visitorProfileId;
	}

	public void setVisitorProfileId(String visitorProfileId) {
		this.visitorProfileId = visitorProfileId;
	}

	public ExhibitionInvitation getExhibitionInvitation() {
		return exhibitionInvitation;
	}

	public void setExhibitionInvitation(ExhibitionInvitation exhibitionInvitation) {
		this.exhibitionInvitation = exhibitionInvitation;
	}

	public Integer getInvitationType() {
		return invitationType;
	}

	public void setInvitationType(Integer invitationType) {
		this.invitationType = invitationType;
	}

	public Boolean getHasAward() {
		return hasAward;
	}

	public void setHasAward(Boolean hasAward) {
		this.hasAward = hasAward;
	}

	public Timestamp getAwardStamp() {
		return awardStamp;
	}

	public void setAwardStamp(Timestamp awardStamp) {
		this.awardStamp = awardStamp;
	}

	public Prize getPrize() {
		return prize;
	}

	public void setPrize(Prize prize) {
		this.prize = prize;
	}

	
	
}